package com.michael.integration.dao;

import com.michael.integration.dao.mapper.BlogMapper;
import com.michael.integration.entity.BlogEntity;
import com.michael.integration.entity.Entity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class BlogDao implements CommonQueryDao,CommonWriteDao{
    @Autowired
    private BlogMapper blogMapper;

    public BlogEntity queryById(Integer id){
        return blogMapper.queryById(id);
    }

    @Override
    public Entity updateById(Integer id) {
        return null;
    }

    @Override
    public Integer deleteById(Integer id) {
        return null;
    }
}
